//
//  SettingViewController.h
//  NaRiLSVMT
//
//  Created by jmsre on 14-8-10.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TcpClient.h"
#import "ITcpClient.h"


@protocol SettingPopupDelegate;

@interface SettingViewController : UIViewController<
    ITcpClient,
    UIAlertViewDelegate
>




@property (assign, nonatomic) id <SettingPopupDelegate>delegate;


@property (weak, nonatomic) IBOutlet UIView *topInSettingView;




@property (weak, nonatomic) IBOutlet UIView *settingRootView;

@property (weak, nonatomic) IBOutlet UIButton *testconnectButton;
- (IBAction)testconnectAction:(id)sender;

@property (weak, nonatomic) IBOutlet UIButton *connectButton;
- (IBAction)connectAction:(id)sender;

@property (weak, nonatomic) IBOutlet UIButton *shutdownsetting;
- (IBAction)shutdownSetupAction:(id)sender;


@property (weak, nonatomic) IBOutlet UITextField *dataSeviceAddr;
@property (weak, nonatomic) IBOutlet UITextField *pushServerIP;
@property (weak, nonatomic) IBOutlet UITextField *pushSevicePORT;
@property (weak, nonatomic) IBOutlet UITextField *imagerSevicePORT;



@property (weak, nonatomic) IBOutlet UIView *mainInSettingView;

Assign BOOL isLogin;

//设置键盘消失按钮:
//- (IBAction)topButAction:(id)sender;
//- (IBAction)leftButAction:(id)sender;
//- (IBAction)rightButAction:(id)sender;






@end


@protocol SettingPopupDelegate<NSObject>
@optional
- (void)backButtonClicked:(SettingViewController*)settingViewController;
@end